<?php
	session_start();
	function emailUser(){
	
	}
	
	function emailLeader(){
		$var = "apo.midweeks@gmail.com";
	}
	
	function email($username, $message){
		$to = $username."@virginia.edu";
		foreach((array) $username )
	    $subject = 'Midweeks Signup';
	    $message = "Your password has been reset to ".$newPassword.". \nPlease do not reply to this email.";
	    $headers = 'From: apo.midweeks@gmail.com';
	    mail($to, $subject, $message, $headers);
	}

foreach $user 


?>